<div class="tableToolbar">
    <div class="coll-md-8" id="addInput">

        <div class="coll-md-1 " id="search2">
            <div class="coll-md-10">
                <input type="text" class='search' placeholder="请输入资产方" ng-model="itemsearch.assetName">
            </div>
        </div>

        <div class="coll-md-2">
            <input type="text" class='search' placeholder="订单号" ng-model="itemsearch.orderNo">
        </div>
        <div class="coll-md-3 scalenone"  id="searchdate" datahide>
            <div class="coll-md-5" >
                <p class="input-group">
                    <input type="text" class="search" placeholder="添加开始时间" uib-datepicker-popup="yyyy-MM-dd"
                           ng-model="itemsearch.startTimex" is-open="popup1.opened" datepicker-options="dateOptions"/>
						<span class="input-group-btn">
							            <button type="button" class="small-icon btn btn-default" ng-click="open1()"><i
                                                class="glyphicon glyphicon-calendar"></i></button>
							          </span>
                </p>
            </div>
            <div class="coll-md-5">
                <p class="input-group inline">
                    <input type="text" class="search" placeholder="添加结束时间" uib-datepicker-popup="yyyy-MM-dd"
                           ng-model="itemsearch.endTimex" is-open="popup2.opened" datepicker-options="dateOptions"/>
						<span class="input-group-btn">
							            <button type="button" class="small-icon btn btn-default" ng-click="open2()"><i
                                                class="glyphicon glyphicon-calendar"></i></button>
							          </span>
                </p>
            </div>
        </div>
        <div class="coll-md-2">
            <input type="button" class="small-icon search2-icon" value="搜索" ng-click="search()">
            <input type="button" class="small-icon search2" value="搜索">
            <input type="button" class="small-icon reset-icon" reset-icon value="重置" ng-click="reset()">
            <input type="button" class="small-icon reset" value="重置">

            <div class="dropdown-menu-right">
                <input type="button" class="small-icon more-icon" value="更多" title='更多搜索项' id="more-icon" data-toggle="dropdown"
                       aria-haspopup="true" aria-expanded="false">
                <input type="button" class="small-icon more" value="更多">
                <ul class="dropdown-menu" style='margin-left:80px;' aria-labelledby="dropdownMenu2" more-search>
                    <li><a href="javascript:;">日期搜索</a></li>
                    <!--<li><a href="javascript:;">状态搜索</a></li>-->
                </ul>
            </div>
        </div>
    </div>
    <div class="coll-md-2">
        <!--<input type="button" class="bttn pos-left"  ng-click="addOrderModal()" value="新建">-->
        <button class="small-icon btn btn-default pos-right" ng-click="download()">
            <i class="fa fa-download" ></i>
        </button>
    </div>
</div>


<table style="margin-bottom:20px;width: 60%">
    <tr>
        <td class="red">
            <h6>共计资产 </h6>
            <h4 ng-model="stat.statCount">{{stat.statCount}}个</h4>
        </td>
        <td class="blue" >
            <h6 > 支出：</h6>
            <h4 ng-model="stat.repayPrincipal">{{stat.statExpend}}元</h4>
        </td>
        <td class="red" >
            <h6 > 收入：</h6>
            <h4 ng-model="stat.repayPrincipal">{{stat.statIncome}}元</h4>
        </td>
        <td class="blue" >
            <h6 > 余额：</h6>
            <h4 ng-model="stat.repayPrincipal">{{stat.statBalance}}元</h4>
        </td>

    </tr>
</table>


<table ui-table="orderParams">
    <thead>
        <tr>
            <th>ID</th>
            <th>类型</th>
            <th>名称</th>
            <th>对应标地</th>
            <th>订单号</th>
            <th>操作时间</th>
            <th>订单金额</th>
        </tr>
    </thead>
    <tbody>
        <tr ng-repeat="item in orderParams.$rows">
            <td>{{item.id}}</td>
            <td>{{item.operateType}}</td>
            <td>{{item.assetName}}</td>
            <td>{{item.itemName}}</td>
            <td>{{item.orderNo}}</td>
            <td>{{item.addtime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
            <td>{{item.operateAmount | orderNum}}</td>
        </tr>
    </tbody>
</table>
